<%@ Page Language="C#" MasterPageFile="~/Public/Home.master" AutoEventWireup="true" CodeFile="CheckDelivery.aspx.cs" Inherits="Public_CheckDelivery" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">
    <strong><span style="font-size: 12px;">
        <br />
        <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="MediumBlue"
            Text="Check your delivery's status"></asp:Label></span></strong><br />
    <em>(Please input the delivery number and customer number we provide you)<br />
        <br />
    </em>
    <table style="width: 550px; border-top-style: none; font-style: italic; border-right-style: none;
        border-left-style: none; border-bottom-style: none; height: 109px;">
        <tr>
            <td style="width: 150px; height: 26px;">
                <asp:Label ID="Label1" runat="server" Font-Italic="False" Text="Delivery Number"></asp:Label></td>
            <td style="width: 200px; height: 26px;">
                <asp:TextBox ID="TextBox1" runat="server" MaxLength="10" Width="120px"></asp:TextBox></td>
            <td style="width: 200px; height: 26px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Delivery Number cannot be blank!" ControlToValidate="TextBox1" Width="224px"></asp:RequiredFieldValidator><br />
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox1"
                    ErrorMessage="Delivery Number must be an integer!" ValidationExpression="\d+" Width="239px"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 150px; height: 26px">
                <asp:Label ID="Label2" runat="server" Font-Italic="False" Text="Customer Number"></asp:Label></td>
            <td style="width: 200px; height: 26px">
                <asp:TextBox ID="TextBox2" runat="server" MaxLength="10" Width="120px"></asp:TextBox></td>
            <td style="width: 200px; height: 26px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Customer Number cannot be blank!" ControlToValidate="TextBox2" Width="230px"></asp:RequiredFieldValidator><br />
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox2"
                    ErrorMessage="Customer Number must be an integer!" ValidationExpression="\d+" Width="249px"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 35px; text-align: center">
            </td>
            <td colspan="3" style="height: 35px;" align="left">
                <asp:Button ID="Button1" runat="server" Text="Check Status" OnClick="Button1_Click" />&nbsp;</td>
        </tr>
        <tr>
            <td colspan="4" style="height: 35px">
                &nbsp;
    <asp:Label ID="Label3" runat="server" Visible="False" Font-Italic="True">This is your delivery's status:</asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 25px;" align="left">
                &nbsp;
                <asp:Label ID="Label12" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Delivery No.</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblDeliveryNo" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 25px;" align="left">
                &nbsp;
                <asp:Label ID="Label13" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Weight</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblWeight" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 25px;" align="left">
                &nbsp;
                <asp:Label ID="Label14" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Posted at</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblDOP" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 25px;" align="left">
                &nbsp;
                <asp:Label ID="Label15" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Service</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblService" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 25px;" align="left">
                &nbsp;
                <asp:Label ID="Label16" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Destination</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblDest" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 25px;" align="left">
                &nbsp;
                <asp:Label ID="Label17" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Customer ID</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblCust" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 25px;" align="left">
                &nbsp;
                <asp:Label ID="Label18" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Feetype</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblFeetype" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="1" style="height: 25px;" align="left">
                &nbsp;
                <asp:Label ID="Label19" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Status</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblStatus" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
        <tr>
            <td align="left" colspan="1" style="height: 25px">
                &nbsp;
                <asp:Label ID="Label20" runat="server" Font-Italic="True" ForeColor="RoyalBlue" Visible="False">Received at</asp:Label></td>
            <td align="left" colspan="3" style="height: 25px">
                <asp:Label ID="lblReceive" runat="server" Font-Bold="True" Font-Italic="False"></asp:Label></td>
        </tr>
    </table>
    <br />
</asp:Content>

